package com.bestow.basic.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 文件模板参数定义对象 hls_doc_file_templet_para
 * 
 * @author liliu
 * @date 2022-09-13
 */
@TableName("hls_doc_file_templet_para")
public class HlsDocFileTempletPara extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件模版参数id */
    @TableId("templet_para_id")
    private Long templetParaId;

    /** 书签代码 */
    @Excel(name = "书签代码")
    private String bookmark;

    /** 书签描述 */
    @Excel(name = "书签描述")
    private String bookmarkDescription;

    /** 书签类型 */
    @Excel(name = "书签类型")
    private String bookmarkType;

    /** 启用 */
    @Excel(name = "启用")
    private String enabledFlag;

    /** 数据源 */
    @Excel(name = "数据源")
    private Long dataSourceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String sqlSource;

    /** 字体型号 */
    @Excel(name = "字体型号")
    private String fontFamily;

    /** 字体大小 */
    @Excel(name = "字体大小")
    private Long fontSize;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long tableWidth;

    /** 下划线 */
    @Excel(name = "下划线")
    private String underline;

    /** 字体是否加粗 */
    @Excel(name = "字体是否加粗")
    private String blod;

    public void setTempletParaId(Long templetParaId) 
    {
        this.templetParaId = templetParaId;
    }

    public Long getTempletParaId() 
    {
        return templetParaId;
    }
    public void setBookmark(String bookmark) 
    {
        this.bookmark = bookmark;
    }

    public String getBookmark() 
    {
        return bookmark;
    }
    public void setBookmarkDescription(String bookmarkDescription) 
    {
        this.bookmarkDescription = bookmarkDescription;
    }

    public String getBookmarkDescription() 
    {
        return bookmarkDescription;
    }
    public void setBookmarkType(String bookmarkType) 
    {
        this.bookmarkType = bookmarkType;
    }

    public String getBookmarkType() 
    {
        return bookmarkType;
    }
    public void setEnabledFlag(String enabledFlag) 
    {
        this.enabledFlag = enabledFlag;
    }

    public String getEnabledFlag() 
    {
        return enabledFlag;
    }
    public void setDataSourceId(Long dataSourceId) 
    {
        this.dataSourceId = dataSourceId;
    }

    public Long getDataSourceId() 
    {
        return dataSourceId;
    }
    public void setSqlSource(String sqlSource) 
    {
        this.sqlSource = sqlSource;
    }

    public String getSqlSource() 
    {
        return sqlSource;
    }
    public void setFontFamily(String fontFamily) 
    {
        this.fontFamily = fontFamily;
    }

    public String getFontFamily() 
    {
        return fontFamily;
    }
    public void setFontSize(Long fontSize) 
    {
        this.fontSize = fontSize;
    }

    public Long getFontSize() 
    {
        return fontSize;
    }
    public void setTableWidth(Long tableWidth) 
    {
        this.tableWidth = tableWidth;
    }

    public Long getTableWidth() 
    {
        return tableWidth;
    }
    public void setUnderline(String underline) 
    {
        this.underline = underline;
    }

    public String getUnderline() 
    {
        return underline;
    }
    public void setBlod(String blod) 
    {
        this.blod = blod;
    }

    public String getBlod() 
    {
        return blod;
    }

    private String dataSourceIdN;

    public String getDataSourceIdN() {
        return dataSourceIdN;
    }

    public void setDataSourceIdN(String dataSourceIdN) {
        this.dataSourceIdN = dataSourceIdN;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templetParaId", getTempletParaId())
            .append("bookmark", getBookmark())
            .append("bookmarkDescription", getBookmarkDescription())
            .append("bookmarkType", getBookmarkType())
            .append("enabledFlag", getEnabledFlag())
            .append("dataSourceId", getDataSourceId())
            .append("sqlSource", getSqlSource())
            .append("fontFamily", getFontFamily())
            .append("fontSize", getFontSize())
            .append("tableWidth", getTableWidth())
            .append("underline", getUnderline())
            .append("blod", getBlod())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("dataSourceIdN", getDataSourceIdN())
            .toString();
    }
}
